<style>
#weixin-search{margin-top:37px;}
#weixin-search > .left {width:251px;float:left;}
#weixin-search > .right {width:251px;float:right;}
#weixin-search > .main {background-color:#3E3470;padding:26px;margin-left:261px;margin-right:261px;min-height: 1000px;}
#weixin-search > .main .funb{height:35px;line-height:35px;}
#weixin-search > .main .funb a span{color:#3C3431;}
#weixin-search > .main .funb .day{background:url(/mprank/img/day-bg.jpg);width:129px;height:35px;float:right;text-align:right;padding-right:15px;}
#weixin-search > .main .funb .dw-toggle{background:url(/mprank/img/dw-toggle.jpg);width:201px;height:35px;float:left;}
#weixin-search > .main .funb .dw-toggle span{display:inline-block;width:47%;text-align:center;color:#3C3431;}
#weixin-search > .main .funb{padding:15px;}
#weixin-search > .main .next-pre{height:40px;padding:15px;}
#weixin-search > .main .next-pre a{display:block;text-align:center;color:#E0E8EA;}
#weixin-search > .main .next-pre .next{float:right;}
#weixin-search > .main .next-pre .pre{float:left;}
</style>
<div id="weixin-search" class="n-max-width n-middle">
	<div class="left">
		<?php
		$m = n_mod('weixin');
		$m->search();
		?>
	</div>
	<div class="right">
		<?php
		$t = n_mod('weixin');
		$t->commend();

		?>
		<?php n_mod('weixin')->competeList();?>
	</div>
	<div class="main">
		<div style="font-size:22px;text-align:center;line-height:100px;color:#fff;">搜索：中自榜榜单结果</div>
		
			<form>
		<div style="border-radius: 5px;padding:3px;margin:0px 60px 60px 60px;font-size:14px;background-color:#fff;">
				<input type="text" style="margin-bottom:0px;width:480px;border:none;" name="group" value="<?=$data['group']?>" />
				<a href="javascript:void(0);" onclick="$(this).parent().parent().submit();"><img src="/index/img/play.png" /></a>
		</div>
			</form>
		


		<div class="list">
			<?php
			if($data['total']!=0){
			?>
			<?php n_mod('mprank')->rankTable($data, 'Y' ,'day',$data['perpage']*($data['page']-1));?>
			<?php
			}else{
				?>
				
				<?php
			}
			?>
		</div>
		<div class="next-pre">
			<?php
			if($data['page']!=1){
				?>
				<a class="pre" href="<?=n_url('mprank','search',array('group'=>$data['group'],'page'=>$data['page']-1))?>">上一页</a>
				<?php
			}
			?>
			<?php
			if($data['total'] > ($data['start']+$data['perpage'])){
				?>
				<a class="next" href="<?=n_url('mprank','search',array('group'=>$data['group'],'page'=>$data['page']+1))?>">下一页</a>
				<?php
			}
			?>
		</div>


	</div>
</div>